import { createApp } from 'vue'
import './style.css'
import App from './App.vue'

import { createPinia } from 'pinia'
import { router } from './router/index'

const app = createApp(App)

// 国际化: 中文支持
import ElementPlus from 'element-plus'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
app.use(ElementPlus, {
  locale: zhCn,
})

app.use(router)
app.use(createPinia())
app.mount('#app')
